<template>
	<view id="letterDetail">
		<view class="content" v-html="obj.content"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				obj:''
			}
		},
		onLoad(option) {
			this.id=option.id
			this.getDetail()
		},
		methods: {
			getDetail(){
				this.httpClient.post('agents/app/notice/detail', {
					id:this.id
				}).then(res => {
					this.obj=res.data
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	#letterDetail{
		.content{
			background-color: #FFF;
			padding:20rpx;
			img{
				width: 100% !important;
			}
			/deep/ img {
			      width: 100%;
			      vertical-align: middle;
			    }
		}
	}
</style>
